toPersistableBundle

@RequiresApi(value = 22)
@NonNull
open fun toPersistableBundle(): @NonNull PersistableBundle(source)

Writes and returns a new PersistableBundle that represents this Person. This bundle can be converted back by using fromPersistableBundle. The Icon of the Person will not be included in the resulting PersistableBundle.